package cn.emove.modular.system.service;


import cn.emove.core.common.page.LayuiPageFactory;
import cn.emove.modular.system.entity.Opencard;
import cn.emove.modular.system.entity.Recharge;
import cn.emove.modular.system.mapper.OpencardMapper;
import cn.emove.modular.system.mapper.RechargeMapper;
import cn.stylefeng.roses.core.datascope.DataScope;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class RechargeService extends ServiceImpl<RechargeMapper, Recharge> {
    public Page<Map<String, Object>> selectRecharges(DataScope dataScope, String rechargeOrderNo, String shopName, String beginTime, String endTime, String shopAdr, String rechargeStatus) {
        Page page = LayuiPageFactory.defaultPage();
        return this.baseMapper.selectRecharges(page,dataScope,rechargeOrderNo, shopName,beginTime, endTime,shopAdr,rechargeStatus);
    }

}
